﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Chung/QLSV.Master" AutoEventWireup="true" CodeBehind="Khoa.aspx.cs" Inherits="proRFID_DiemDanh.Khoa.Khoa" %>
<asp:Content ID="Content1" ContentPlaceHolderID="contentHead" runat="server">
    <link href="CssKhoa.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentMain" runat="server">
<div style="text-align:center; width:100%" >
    <fieldset style="width:500px">
        <legend>Danh sách khoa</legend>
        <table class="border" align="center" style="width:80%">
            <tr>
                <th>Mã khoa</th>
                <th>Tên khoa</th>
                <th>Sửa</th>
                <th>Xóa</th>
            </tr>
            <asp:Repeater ID="Rpt_Khoa" runat="server">
            <ItemTemplate>
            <tr>
                    <td align="center"><%#Eval("MAKHOA") %></td>
                    <td align="center"><%#Eval("TENKHOA") %></td>
                    <td align="center"><a href="SuaKhoa.aspx?ID=<%#Eval("MAKHOA") %>"><img src="../Chung/img/edit.png" width="15px"/></a></td>
                    <td align="center"><input type="checkbox" name="chon" value="<%#Eval("MAKHOA") %>" /></td>
            </tr>
            </ItemTemplate>
            </asp:Repeater>
            <tr>
                <td colspan="4">
                    <asp:Label ID="lbThongBao" runat="server" CssClass="Thongbao"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="5" style="text-align:right;">
                    <asp:ImageButton ID="cmdThem" runat="server" ImageUrl="~/Chung/img/add.png" 
                        CssClass="nutnhan" onclick="cmd_Them_Click"/>
                    <asp:ImageButton ID="cmdXoa" runat="server" ImageUrl="~/Chung/img/delete.png" 
                        CssClass="nutnhan" onclick="cmd_Xoa_Click"/>
                </td>
            </tr>
        </table>
    </fieldset>
</div>
</asp:Content>
